package com.qf.cardlike.mapper;

import com.qf.cardlike.domain.Card;

import java.util.List;

/**
* @author a
* @description 针对表【card(用户表)】的数据库操作Mapper
* @createDate 2022-05-16 16:34:35
* @Entity com.qf.cardlike.domain.Card
*/
public interface CardMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Card record);

    int insertSelective(Card record);

    Card selectByPrimaryKey(Long id);
    // 动态更新
    int updateByPrimaryKeySelective(Card record);

    // 普通更新
    int updateByPrimaryKey(Card record);

    List<Card> selectAll();

    // 根据传入的ID集合查询名片
    List<Card> selectByIds(List<String> idList);
}
